package com.rc.evcharger.model.ugs;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TenantUgsSuperLevelPriceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TenantUgsSuperLevelPriceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSuperLevelPriceIdIsNull() {
            addCriterion("super_level_price_id is null");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIdIsNotNull() {
            addCriterion("super_level_price_id is not null");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIdEqualTo(Long value) {
            addCriterion("super_level_price_id =", value, "superLevelPriceId");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIdNotEqualTo(Long value) {
            addCriterion("super_level_price_id <>", value, "superLevelPriceId");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIdGreaterThan(Long value) {
            addCriterion("super_level_price_id >", value, "superLevelPriceId");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIdGreaterThanOrEqualTo(Long value) {
            addCriterion("super_level_price_id >=", value, "superLevelPriceId");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIdLessThan(Long value) {
            addCriterion("super_level_price_id <", value, "superLevelPriceId");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIdLessThanOrEqualTo(Long value) {
            addCriterion("super_level_price_id <=", value, "superLevelPriceId");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIdIn(List<Long> values) {
            addCriterion("super_level_price_id in", values, "superLevelPriceId");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIdNotIn(List<Long> values) {
            addCriterion("super_level_price_id not in", values, "superLevelPriceId");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIdBetween(Long value1, Long value2) {
            addCriterion("super_level_price_id between", value1, value2, "superLevelPriceId");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIdNotBetween(Long value1, Long value2) {
            addCriterion("super_level_price_id not between", value1, value2, "superLevelPriceId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeIsNull() {
            addCriterion("super_level_type is null");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeIsNotNull() {
            addCriterion("super_level_type is not null");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeEqualTo(String value) {
            addCriterion("super_level_type =", value, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeNotEqualTo(String value) {
            addCriterion("super_level_type <>", value, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeGreaterThan(String value) {
            addCriterion("super_level_type >", value, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeGreaterThanOrEqualTo(String value) {
            addCriterion("super_level_type >=", value, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeLessThan(String value) {
            addCriterion("super_level_type <", value, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeLessThanOrEqualTo(String value) {
            addCriterion("super_level_type <=", value, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeLike(String value) {
            addCriterion("super_level_type like", value, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeNotLike(String value) {
            addCriterion("super_level_type not like", value, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeIn(List<String> values) {
            addCriterion("super_level_type in", values, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeNotIn(List<String> values) {
            addCriterion("super_level_type not in", values, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeBetween(String value1, String value2) {
            addCriterion("super_level_type between", value1, value2, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperLevelTypeNotBetween(String value1, String value2) {
            addCriterion("super_level_type not between", value1, value2, "superLevelType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeIsNull() {
            addCriterion("super_card_type is null");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeIsNotNull() {
            addCriterion("super_card_type is not null");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeEqualTo(String value) {
            addCriterion("super_card_type =", value, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeNotEqualTo(String value) {
            addCriterion("super_card_type <>", value, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeGreaterThan(String value) {
            addCriterion("super_card_type >", value, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeGreaterThanOrEqualTo(String value) {
            addCriterion("super_card_type >=", value, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeLessThan(String value) {
            addCriterion("super_card_type <", value, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeLessThanOrEqualTo(String value) {
            addCriterion("super_card_type <=", value, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeLike(String value) {
            addCriterion("super_card_type like", value, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeNotLike(String value) {
            addCriterion("super_card_type not like", value, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeIn(List<String> values) {
            addCriterion("super_card_type in", values, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeNotIn(List<String> values) {
            addCriterion("super_card_type not in", values, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeBetween(String value1, String value2) {
            addCriterion("super_card_type between", value1, value2, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperCardTypeNotBetween(String value1, String value2) {
            addCriterion("super_card_type not between", value1, value2, "superCardType");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameIsNull() {
            addCriterion("super_type_name is null");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameIsNotNull() {
            addCriterion("super_type_name is not null");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameEqualTo(String value) {
            addCriterion("super_type_name =", value, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameNotEqualTo(String value) {
            addCriterion("super_type_name <>", value, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameGreaterThan(String value) {
            addCriterion("super_type_name >", value, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("super_type_name >=", value, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameLessThan(String value) {
            addCriterion("super_type_name <", value, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameLessThanOrEqualTo(String value) {
            addCriterion("super_type_name <=", value, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameLike(String value) {
            addCriterion("super_type_name like", value, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameNotLike(String value) {
            addCriterion("super_type_name not like", value, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameIn(List<String> values) {
            addCriterion("super_type_name in", values, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameNotIn(List<String> values) {
            addCriterion("super_type_name not in", values, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameBetween(String value1, String value2) {
            addCriterion("super_type_name between", value1, value2, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andSuperTypeNameNotBetween(String value1, String value2) {
            addCriterion("super_type_name not between", value1, value2, "superTypeName");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayIsNull() {
            addCriterion("card_expire_day is null");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayIsNotNull() {
            addCriterion("card_expire_day is not null");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayEqualTo(Integer value) {
            addCriterion("card_expire_day =", value, "cardExpireDay");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayNotEqualTo(Integer value) {
            addCriterion("card_expire_day <>", value, "cardExpireDay");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayGreaterThan(Integer value) {
            addCriterion("card_expire_day >", value, "cardExpireDay");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayGreaterThanOrEqualTo(Integer value) {
            addCriterion("card_expire_day >=", value, "cardExpireDay");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayLessThan(Integer value) {
            addCriterion("card_expire_day <", value, "cardExpireDay");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayLessThanOrEqualTo(Integer value) {
            addCriterion("card_expire_day <=", value, "cardExpireDay");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayIn(List<Integer> values) {
            addCriterion("card_expire_day in", values, "cardExpireDay");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayNotIn(List<Integer> values) {
            addCriterion("card_expire_day not in", values, "cardExpireDay");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayBetween(Integer value1, Integer value2) {
            addCriterion("card_expire_day between", value1, value2, "cardExpireDay");
            return (Criteria) this;
        }

        public Criteria andCardExpireDayNotBetween(Integer value1, Integer value2) {
            addCriterion("card_expire_day not between", value1, value2, "cardExpireDay");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIsNull() {
            addCriterion("super_level_price is null");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIsNotNull() {
            addCriterion("super_level_price is not null");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceEqualTo(BigDecimal value) {
            addCriterion("super_level_price =", value, "superLevelPrice");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceNotEqualTo(BigDecimal value) {
            addCriterion("super_level_price <>", value, "superLevelPrice");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceGreaterThan(BigDecimal value) {
            addCriterion("super_level_price >", value, "superLevelPrice");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("super_level_price >=", value, "superLevelPrice");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceLessThan(BigDecimal value) {
            addCriterion("super_level_price <", value, "superLevelPrice");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("super_level_price <=", value, "superLevelPrice");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceIn(List<BigDecimal> values) {
            addCriterion("super_level_price in", values, "superLevelPrice");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceNotIn(List<BigDecimal> values) {
            addCriterion("super_level_price not in", values, "superLevelPrice");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("super_level_price between", value1, value2, "superLevelPrice");
            return (Criteria) this;
        }

        public Criteria andSuperLevelPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("super_level_price not between", value1, value2, "superLevelPrice");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentIsNull() {
            addCriterion("discount_percent is null");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentIsNotNull() {
            addCriterion("discount_percent is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentEqualTo(BigDecimal value) {
            addCriterion("discount_percent =", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentNotEqualTo(BigDecimal value) {
            addCriterion("discount_percent <>", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentGreaterThan(BigDecimal value) {
            addCriterion("discount_percent >", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_percent >=", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentLessThan(BigDecimal value) {
            addCriterion("discount_percent <", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_percent <=", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentIn(List<BigDecimal> values) {
            addCriterion("discount_percent in", values, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentNotIn(List<BigDecimal> values) {
            addCriterion("discount_percent not in", values, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_percent between", value1, value2, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_percent not between", value1, value2, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeIsNull() {
            addCriterion("realize_type is null");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeIsNotNull() {
            addCriterion("realize_type is not null");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeEqualTo(String value) {
            addCriterion("realize_type =", value, "realizeType");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeNotEqualTo(String value) {
            addCriterion("realize_type <>", value, "realizeType");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeGreaterThan(String value) {
            addCriterion("realize_type >", value, "realizeType");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeGreaterThanOrEqualTo(String value) {
            addCriterion("realize_type >=", value, "realizeType");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeLessThan(String value) {
            addCriterion("realize_type <", value, "realizeType");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeLessThanOrEqualTo(String value) {
            addCriterion("realize_type <=", value, "realizeType");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeLike(String value) {
            addCriterion("realize_type like", value, "realizeType");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeNotLike(String value) {
            addCriterion("realize_type not like", value, "realizeType");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeIn(List<String> values) {
            addCriterion("realize_type in", values, "realizeType");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeNotIn(List<String> values) {
            addCriterion("realize_type not in", values, "realizeType");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeBetween(String value1, String value2) {
            addCriterion("realize_type between", value1, value2, "realizeType");
            return (Criteria) this;
        }

        public Criteria andRealizeTypeNotBetween(String value1, String value2) {
            addCriterion("realize_type not between", value1, value2, "realizeType");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgIsNull() {
            addCriterion("super_card_img is null");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgIsNotNull() {
            addCriterion("super_card_img is not null");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgEqualTo(String value) {
            addCriterion("super_card_img =", value, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgNotEqualTo(String value) {
            addCriterion("super_card_img <>", value, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgGreaterThan(String value) {
            addCriterion("super_card_img >", value, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgGreaterThanOrEqualTo(String value) {
            addCriterion("super_card_img >=", value, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgLessThan(String value) {
            addCriterion("super_card_img <", value, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgLessThanOrEqualTo(String value) {
            addCriterion("super_card_img <=", value, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgLike(String value) {
            addCriterion("super_card_img like", value, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgNotLike(String value) {
            addCriterion("super_card_img not like", value, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgIn(List<String> values) {
            addCriterion("super_card_img in", values, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgNotIn(List<String> values) {
            addCriterion("super_card_img not in", values, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgBetween(String value1, String value2) {
            addCriterion("super_card_img between", value1, value2, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andSuperCardImgNotBetween(String value1, String value2) {
            addCriterion("super_card_img not between", value1, value2, "superCardImg");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemark2IsNull() {
            addCriterion("remark2 is null");
            return (Criteria) this;
        }

        public Criteria andRemark2IsNotNull() {
            addCriterion("remark2 is not null");
            return (Criteria) this;
        }

        public Criteria andRemark2EqualTo(String value) {
            addCriterion("remark2 =", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotEqualTo(String value) {
            addCriterion("remark2 <>", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2GreaterThan(String value) {
            addCriterion("remark2 >", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2GreaterThanOrEqualTo(String value) {
            addCriterion("remark2 >=", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2LessThan(String value) {
            addCriterion("remark2 <", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2LessThanOrEqualTo(String value) {
            addCriterion("remark2 <=", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2Like(String value) {
            addCriterion("remark2 like", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotLike(String value) {
            addCriterion("remark2 not like", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2In(List<String> values) {
            addCriterion("remark2 in", values, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotIn(List<String> values) {
            addCriterion("remark2 not in", values, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2Between(String value1, String value2) {
            addCriterion("remark2 between", value1, value2, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotBetween(String value1, String value2) {
            addCriterion("remark2 not between", value1, value2, "remark2");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}